import java.io.IOException;
import java.io.PrintStream;


public class QuitaH extends java.io.OutputStream {

	public QuitaH(java.io.OutputStream o) {
		out = o;
	}
	
	public void instala(){
		System.setOut( new PrintStream ( new QuitaH(realOut)));
	}
	public void desinstala(){
		System.setOut(realOut);
	}

	@Override
	public void write(int b) throws IOException {
		if ( b!='h' && b!='H') out.write(b);
	}
	
	private java.io.OutputStream out;
	private PrintStream realOut = System.out;
	
}